//
//  UIImageView+category.swift
//  swift-GWYWeiBo
//
//  Created by x on 2017/4/24.
//  Copyright © 2017年 HLB. All rights reserved.
//

import UIKit

extension UIImageView {
    
    //快速创建一个UIImageView
    class func creatUIImageView(placeholderImage: String) -> UIImageView {
        
        let tt = UIImageView(image: UIImage.init(named: placeholderImage))
        tt.translatesAutoresizingMaskIntoConstraints = false
        return tt
    }
}
